<template>
  <div>
   <Header ref="hele"/>
   <button @click="getEle">点击</button>
    <Count/>
  </div>
</template>

<script>


import Header from './components/Header'
import Count from './components/Count'


export default {
  name: 'App',
  data(){
    return{
      
    }
  },
  components:{
    Header,
    Count
  },
  methods:{
    getEle(){
      console.log(this.$refs)
    }
  }
  
 
}
</script>

<style>

</style>
